package com.quectel.core.module.household.dto;

import com.quectel.core.module.village.dto.VillageRoomDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * @author caolu
 * @email louis.cao@quectel.com
 * @date 2021-11-02 13:12:14
 */
@Data
@Schema
public class HouseholdRoomDto implements Serializable {

    /**
     *
     */
    @Schema(description = "")
    private Long id;

    /**
     * 小区 id
     */
    @Schema(description = "小区 id")
    private Long villageId;

    /**
     * 住户 id
     */
    @Schema(description = "住户 id")
    private Long householdId;

    /**
     * 房屋 id
     */
    @Schema(description = "房屋id")
    private Long roomId;


    /**
     * 身份类别1业主2租户3家人
     */
    @Schema(description = "身份类别1业主2租户3家人")
    private Byte identityCategory;

    /************非数据库字段 start ************/
    @Schema(description = "房间信息")
    private VillageRoomDto villageRoomDto;

    @Schema(description = "住户信息")
    private HouseholdDto householdDto;

    @Schema(description = "网格名")
    private String gridName;

    @Schema(description = "网格id")
    private Long gridId;
    /************非数据库字段 end **************/
}
